# -*- coding:utf-8 -*-
# @Time : 2020/7/30 8:25
# @Author : Administrator
# @File : forms.py
# @Software: PyCharm
# @Motto: good good study,day day up

from django import forms
from django.forms.models import inlineformset_factory
from .models import Course, Module

ModuleFormSet = inlineformset_factory(Course, Module, fields=['title', 'description'], extra=2, can_delete=True)
